#include "Grey.h"

uint8_t crossFlag=0;//set to 1 when called, manual reset required

uint16_t SnsrPin;

void GreyInit(uint16_t pin)
{
	SnsrPin=pin;
}

void GreyCallback(uint16_t pin)
{	
	if(pin==SnsrPin)
		crossFlag=1;
}

